#pragma once
#include <iostream>
#include "Snake.h"
#include <string>
using namespace std;

class Board
{
public:
int size;
        short plansza[50][50];


	void Show();
	void SetSize(int x);
	string Send();
	void Receive(string str);
	int SetFirst(Snake sn);
	int SetSecond(Snake sn);
	int CheckFirst(Snake sn);
	int CheckSecond(Snake sn);

	void SetFood();

	Board(void);
	~Board(void);
	void SetBorders();
        string int2str(int n);
	int strToInt(const string &str);
	void ClearBoard();
        void RemoveSnakes();
};
